#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include<math.h>
#define PI 3.14
int main() {
    int n = 0, m = 0;
    float r = 0;
    int k = 0;
    scanf("%d %d", &n, &m);
    scanf("%f", &r);
    scanf("%d", &k);
    printf("%d\n", n * m);
    printf("%g\n", PI * pow(r, 2));
    printf("%.0f\n", pow(k, 2));
    return 0;
}